package main

import (
	"red-note-pub/appconfig"
	"red-note-pub/cache"
	"red-note-pub/model"
	"red-note-pub/router"
)

func main() {
	// 1.创建路由
	r := router.Init()
	appconfig.Init()
	model.Init()
	cache.Init()
	r.Run(":8081")
}
